package com.explorx.sns.puma.im.core;

import com.explorx.sns.puma.im.core.chat.NotificationService;
import com.explorx.sns.puma.im.core.chat.model.NotificationModel;
import com.google.common.collect.Lists;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NotificationServiceImpl implements NotificationService {

    @Override
    public List<NotificationModel> queryNotification(Long uid) {
        List<NotificationModel> result= Lists.newArrayList();
        result.add(NotificationModel.builder()
                        .worksUrl("https://randomuser.me/api/portraits/men/19.jpg")
                        .avatar("https://randomuser.me/api/portraits/men/19.jpg")
                        .date("9-26")
                        .userName("mock")
                        .userId(103L)
                .infoMsg("收藏了你的路线").build());
        return result;
    }
}
